package script
{
	/**
	 *常用方法类 
	 * @author 张沛
	 * 
	 */
	public class sysconfig
	{
		/**
		 * JSON格式CONTENTTYPE
		 * "application/json; charset=utf-8"
		 */		
		public static const  CONTENTTYPE_JSON:String = "application/json; charset=utf-8";
		public function sysconfig()
		{
		}
		
		/**
		 *获取当前时间并转为JSON形态 
		 * @return 
		 * 
		 */
		public static function getNowToJson():String
		{
			return "\/Date(" +	(new Date()).valueOf().toString()+"+0800)\/";
		
		}
		
		
	}
}